package com.qf.java2201.mapper;

import com.qf.java2201.pojo.Goods;

import java.util.List;
import java.util.Map;

public interface ProductMapper {
    List<Goods> selectByParams(Map<String, Object> params);

    int updateProductById(Goods goods);

    int deleteProductById(Goods goods);

    int addProduct(Goods goods);

    //查询条件以实体类传递
    List<Goods> selectList(Goods goods);

    void addProducts(List<Goods> goods);
}
